package observerNotification;


/**
 * Message: need a confirmation from the user
 * 
 * <p>
 * <ul>
 * <li>Project: 	ChatSystemG3</li>
 * </ul>
 * </p>
 * 
 * @author COMBES Nicolas - LECHANTRE Arnaud
 * @see ObserverNotification
 */
public class QuestionObserverNotification extends ObserverNotification{

	private String message;		//Error message to be shown to user
	private String action;
	
	/**
	 * Construct 
	 * @param message : Message to be displayed to the user
	 */
	public QuestionObserverNotification(String message, String action){
		this.message=message;
		this.action=action;
	}
	
	/**
	 * getMessage
	 * @return the message that the error contain
	 */
	public String getMessage(){
		return this.message;
	}
	
	/**
	 * getAction
	 * @return the message that the error contain
	 */
	public String getAction(){
		return this.action;
	}
}
